﻿<%@ Import Namespace="Wikey.Utilities.Extensions"%>
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Wikey.Entity.Page>" %>
 <div id="Subpages" style="float: left; width: 50%;" class="section">
            <h3>Children</h3>
            <ul id="PageList">
                <% foreach (var page in ViewData.Model.SubPages)
                   {%>
                <li>
                    <%= Html.ActionLink(page.Name, page.FriendlyName, "Pages")%>
                </li>
                <% } %>
            </ul>
        </div>